package com.ruoyi.common.core.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 字典常量定义
 */
public class DictConstants {

	/**
	 * 用户类型
	 */
	@Getter
	@AllArgsConstructor
	public enum USER_TYPE {
		SYS("00","系统用户"),
		HYF("01","物流公司");
		final String key;
		final String name;
	}

	/**
	 * 系统用户状态
	 */
	@Getter
	@AllArgsConstructor
	public enum USER_STATUS {
		OK("0","正常"),
		DISABLE("1","停用"),
		DELETED("2","删除");
		final String key;
		final String name;
	}

	/**
	 * 性別
	 */
	@Getter
	@AllArgsConstructor
	public enum USER_SEX {
		NAN("0","男"),
		NV("1","女"),
		WZ("2","未知");
		final String key;
		final String name;
	}

	/**
	 * 有效状态
	 */
	@Getter
	@AllArgsConstructor
	public enum COMMON_STATE {
		OK("1","正常"),
		NO("2","禁用");
		final String key;
		final String name;
	}

	/**
	 * 刪除状态
	 */
	@Getter
	@AllArgsConstructor
	public enum DELETE_BASE {
		OK(0,"正常"),
		NO(1,"删除");
		final int key;
		final String name;
	}

	/**
	 * 系统是否
	 * status
	 */
	@Getter
	@AllArgsConstructor
	public enum SYS_YES_NO {
		NO("N","否"),
		YES("Y","是");
		final String key;
		final String name;
	}

	/**
	 * 认证状态
	 * status
	 */
	@Getter
	@AllArgsConstructor
	public enum IS_CERT {
		WRZ("0","未认证"),
		SHZ("1","审核中"),
		YRZ("2","已认证"),
		RZSB("3","认证失败");
		final String key;
		final String name;
	}

	/**
	 * 订单状态
	 * status
	 */
	@Getter
	@AllArgsConstructor
	public enum ORDER_STATUS {
		DFC("1","待发车"),
		YSZ("2","运输中"),
		YWC("3","已完成");
		final String key;
		final String name;
	}

	/**
	 * 监测状态
	 * monitorsState
	 */
	@Getter
	@AllArgsConstructor
	public enum MONITORS_STATE {
		WKQ(0,"未开启"),
		CS(1,"联调测试开启"),
		ZS(2,"正式监测开启");
		final int key;
		final String name;
	}

	/**
	 * 是否已上传
	 * status
	 */
	@Getter
	@AllArgsConstructor
	public enum IS_SEND_TO_PRO {
		WSC("0","未上传"),
		YSC("1","已上传");
		final String key;
		final String name;
	}

	/**
	 * 支付状态
	 * monitorsState
	 */
	@Getter
	@AllArgsConstructor
	public enum PAYMENT_STATUS {
		YSQ("1","已申请"),
		YZF("2","已支付"),
		YCX("3","已撤销");
		final String key;
		final String name;
	}

}
